// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SYS_IMPORT_TEMPLATE
// * CreateDate    : 2014-11-12 15:57:43
// * Creater       : CodeSmith
// * LastChangeDate: 2014-11-12 15:57:43
// * LastChanger   : 2014-11-12 15:57:43
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class SysImportTemplateTable : TableInfo
    {
        public const string C_TableName = "SYS_IMPORT_TEMPLATE";

        public const string C_ID = "ID";
        public const string C_CREATED_BY = "CREATED_BY";
        public const string C_CREATED_DATE = "CREATED_DATE";
        public const string C_UPDATED_BY = "UPDATED_BY";
        public const string C_UPDATED_DATE = "UPDATED_DATE";
        public const string C_IS_ACTIVE = "IS_ACTIVE";
        public const string C_FORM_NAME = "FORM_NAME";
        public const string C_IMPORT_TEMPLATE = "IMPORT_TEMPLATE";
        public const string C_TYPE = "TYPE";

        public SysImportTemplateTable()
        {
            _tableName = "SYS_IMPORT_TEMPLATE";
        }

        protected static SysImportTemplateTable _current;
        public static SysImportTemplateTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new SysImportTemplateTable();

            _current.Add(C_ID, new ColumnInfo(C_ID, "Id", true, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY, "CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE, "CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY, "UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE, "UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE, "IsActive", false, typeof(int)));
            _current.Add(C_FORM_NAME, new ColumnInfo(C_FORM_NAME, "FormName", false, typeof(string)));
            _current.Add(C_IMPORT_TEMPLATE, new ColumnInfo(C_IMPORT_TEMPLATE, "ImportTemplate", false, typeof(byte[])));
            _current.Add(C_TYPE, new ColumnInfo(C_TYPE, "Type", false, typeof(string)));

        }

        public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }

        public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }

        public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }

        public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }

        public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }

        public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }

        public ColumnInfo FORM_NAME
        {
            get { return this[C_FORM_NAME]; }
        }

        public ColumnInfo IMPORT_TEMPLATE
        {
            get { return this[C_IMPORT_TEMPLATE]; }
        }

        public ColumnInfo TYPE
        {
            get { return this[C_TYPE]; }
        }



    }
}

